package cn.icanci.test.controller;

import cn.icanci.test.service.HiService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

/**
 * @author icanci
 * @date Created in 2021/03/02 23:56
 * @version 1.0
 */
@Controller
public class HiController {
    @Autowired
    private HiService hiService;

    public void handleRequest() {
        hiService.sayHi();
        String s = hiService.justWantToSayHi();
        System.out.println(s);
    }
}
